<link href="./css/style.css" rel="stylesheet" type="text/css" />
<div class="main">
<div class="managerlist">
	<p class="tt"><a>首页</a>><a href="managerlist.php">管理员列表</a></p>
	<div class="manager">
		{if($mlist)}
		<table>
			<tr><th>编号</th><th>账户</th><th>姓名</th><th>操作</th><th>授权</th></tr>
			{loop $mlist $key as $list}
			<tr>
				<td>{$list[Id]}</td>
				<td>{$list[auname]}</td>
				<td>{$list[atname]}</td>
				<td><a href='manageredit.php?id={$list[Id]}'>编辑</a></td>
				<td><a href='powerset.php?uid={$list[Id]}'>权限设置</a></td>
			</tr>
			{/loop}
		</table>
		{/if}
	</div>
	
	<script src="./js/jquery.js"></script>	
</div>
</div>
<script>
	h1 = $(".main").height();
	h2 = $(".usereadd").height();
	if(h2>h1){
		$(".main").css("height","auto");
	}
	$('tr').click(function(){	
			$('tr').removeClass('onactive');
			$(this).addClass('onactive');
		});
</script>
